gsk: Add redirection to FBOs for opacity groups
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 25 Jul 2016 16:15:05 +0000 (17:15 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:09 +0000 (11:49 +0100)
commit9e22118feb983aad35ce065725d9ac3c7ac1c3a4
treed4175b81db57285e406c296f3a697ae22c6849b4
parent8ac912728370b9aeecdf1503b911c879ac31a3bd
gsk: Add redirection to FBOs for opacity groups

If a node is non-opaque and has a non-zero opacity we need to paint its
contents and children first to an off screen buffer, and then render the
resulting texture at the desired opacity — otherwise the opacities will
combine and result in the wrong rendering.
gsk/gskglrenderer.c